import request from "../common/request.js"
// upload
export function coachDeadil (data) {
  return request({
    url: '/coach/main',
    method: 'post',
    data
  })
}

export function courseDeadil (data) {
  return request({
    url: '/course/main',
    method: 'post',
    data
  })
}

export function courseBuyInfo (data) {
  return request({
    url: '/course/buyInfo',
    method: 'post',
    data
  })
}

export function userCoachmain (data) {
  return request({
    url: '/coachmain/main',
    method: 'post',
    data
  })
}

export function coachmainInfo (data) {
  return request({
    url: '/coachmain/info',
    method: 'post',
    data
  })
}

export function coachmainAmend (data) {
  return request({
    url: '/coachmain/amend',
    method: 'post',
    data
  })
}

export function coachmainMore (data) {
  return request({
    url: '/coachmain/more',
    method: 'post',
    data
  })
}

export function memberDetailsList (data) {
  return request({
    url: '/coachmain/memberDetailsList',
    method: 'post',
    data
  })
}

export function coachstudentmain (data) {
  return request({
    url: '/coachstudent/main',
    method: 'post',
    data
  })
}

export function coachstudentinfo (data) {
  return request({
    url: '/coachstudent/info',
    method: 'post',
    data
  })
}

export function courseList (data) {
  return request({
    url: '/coachmain/courseList',
    method: 'post',
    data
  })
}

export function coachStudentCourse (data) {
  return request({
    url: '/coachstudent/course',
    method: 'post',
    data
  })
}

export function performance (data) {
  return request({
    url: '/coachmain/performance',
    method: 'post',
    data
  })
}

export function evaList (data) {
  return request({
    url: '/eva/list',
    method: 'post',
    data
  })
}
export function storeorderList (data) {
  return request({
    url: '/coachorder/list',
    method: 'post',
    data
  })
}

export function storeorderQrcode (data) {
  return request({
    url: '/coachorder/qrcode',
    method: 'post',
    data
  })
}

export function storeorderPoster (data) {
  return request({
    url: '/coachorder/poster',
    method: 'post',
    data
  })
}

export function storeorderInfo (data) {
  return request({
    url: '/coachorder/info',
    method: 'post',
    data
  })
}

export function storeorderCreate (data) {
  return request({
    url: '/coachorder/create',
    method: 'post',
    data
  })
}

export function storemainCardList (data) {
  return request({
    url: '/coachorder/cardList',
    method: 'post',
    data
  })
}


export function storemainCourseList (data) {
  return request({
    url: '/coachorder/courseList',
    method: 'post',
    data
  })
}

export function shopList (data) {
  return request({
    url: '/coachorder/shopList',
    method: 'post',
    data
  })
}


export function coachmemberList (data) {
  return request({
    url: '/coachmember/list',
    method: 'post',
    data
  })
}

export function storeMemberInfo (data) {
  return request({
    url: '/coachmember/info',
    method: 'post',
    data
  })
}

export function storeMemberRemark (data) {
  return request({
    url: '/coachmember/remark',
    method: 'post',
    data
  })
}

export function storeMemberfollowList (data) {
  return request({
    url: '/coachmember/followList',
    method: 'post',
    data
  })
}

export function storeMemberfollowAdd (data) {
  return request({
    url: '/coachmember/follow',
    method: 'post',
    data
  })
}

export function courseList2(data) {
  return request({
    url: '/coachmember/courseList',
    method: 'post',
    data
  })
}

export function cardList (data) {
  return request({
    url: '/coachmember/cardList',
    method: 'post',
    data
  })
}

export function storememberCrossList (data) {
  return request({
    url: '/coachmember/crossList',
    method: 'post',
    data
  })
}

export function classList (data) {
  return request({
    url: '/coachmember/classList',
    method: 'post',
    data
  })
}

export function storeCourseList (data) {
  return request({
    url: '/coachcourse/list',
    method: 'post',
    data
  })
}

export function storeCourseClassList (data) {
  return request({
    url: '/coachcourse/classList',
    method: 'post',
    data
  })
}

export function storememberResList (data) {
  return request({
    url: '/coachmember/resList',
    method: 'post',
    data
  })
}


